using System.ComponentModel.DataAnnotations;

namespace Yuekao.Domain.Entitys
{
    /// <summary>
    /// 医生详情表
    /// </summary>
    public class DoctorDetails
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int DetailsId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [StringLength(30)]
        public string PatientName { get; set; } = string.Empty;

        /// <summary>
        /// 手机号
        /// </summary>
        [StringLength(30)]
        public string CardNumber { get; set; } = string.Empty;

        /// <summary>
        /// 性别
        /// </summary>
        [StringLength(30)]
        public string CardType { get; set; } = string.Empty;

        /// <summary>
        /// 银行卡号
        /// </summary>
        [StringLength(30)]
        public string IDCard { get; set; } = string.Empty;

        /// <summary>
        /// 医生照片
        /// </summary>
        [StringLength(30)]
        public string NickName { get; set; } = string.Empty;

        /// <summary>
        /// 擅长
        /// </summary>
        public string Begood { get; set; } = string.Empty;

        /// <summary>
        /// 简介
        /// </summary>
        public string Introduction { get; set; } = string.Empty;

        /// <summary>
        /// 证书
        /// </summary>
        public string Certificate { get; set; } = string.Empty;

        /// <summary>
        /// 医生外键
        /// </summary>
        public int DoctorId { get; set; }
    }
} 